package com.ruoyi.base.domain;

import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出入库对象 base_flow_io
 * 
 * @author yepanpan
 * @date 2025-04-15
 */
@Data
public class BaseFlowIo extends BaseEntity
{
    public static final String TYPE_IN = "I";
    public static final String TYPE_OUT = "O";
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;
    /** 操作人 */
    @Excel(name = "操作人")
    private String userName;
    private Long userId;

    /** 部门 */
    @Excel(name = "部门")
    private String deptName;
    private Long deptId;

    /** 流程 */
    @Excel(name = "流程类别")
    private String flowTypeName;
    @NotNull
    private Long flowId;

    @Excel(name = "申请人")
    private String applyUserName;

    /** 出入库类型 */
    @Excel(name = "出入库类型", dictType="flow_io_type", comboReadDict=true)
    @NotNull
    private String type;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String deviceCode;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Long deviceId;

    /** 现场拍照 */
    @Excel(name = "现场拍照")
    private String imgs;


}
